package com.citymanage.demo.service.worker;

import com.citymanage.demo.mapper.worker.WorkerMapper;
import com.citymanage.demo.po.worker.Worker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginWorkerService {
    @Autowired
    private WorkerMapper workerMapper;

    public Worker getInfo(String account, String password) {
        return workerMapper.getInfo(account, password);
    }
}
